package com.ybkj.o2o.zhuanche.common;

import java.math.BigDecimal;
import java.math.BigInteger;

public class CompanyOrderVo {

  private String companyName;

  private long cancelNums;

  private long finishNums;

  private BigDecimal money;

  public String getCompanyName() {
    return companyName;
  }

  public void setCompanyName(String companyName) {
    this.companyName = companyName;
  }

  public long getCancelNums() {
    return cancelNums;
  }

  public void setCancelNums(long cancelNums) {
    this.cancelNums = cancelNums;
  }

  public long getFinishNums() {
    return finishNums;
  }

  public void setFinishNums(long finishNums) {
    this.finishNums = finishNums;
  }
  /**
   * 金额为空时返回0.
   * @return 金额.
   */
  
  public BigDecimal getMoney() {
    if (null == money) {
      return new BigDecimal(BigInteger.ZERO);
    }
    return money;
  }

  public void setMoney(BigDecimal money) {
    this.money = money;
  }



}
